CSTRING2.TXT - Description of the CString2 class ------------------------------------------------------------------------- VERSION: 0.90 : This is to be considered BETA CODE until I see fit to release version 1.00. If you find ANY bugs or have ANY suggestions, PLEASE send me email. CString2 is an extension to the Microsoft Foundation Class Library's CString class. It provides some stripping capabilities, character queries, and tab expansion. ------------------------------------------------------------------------- Obligatory Disclamer: This code is provided "as is" without warranty of any kind. In no event will Robert J. Trembley be liable for any damages whatsoever arising out of the use of or inability to use this code. (Don't you hate this stuff?) ------------------------------------------------------------------------- Stripping Functions: void StripTrailingBlanks (); void StripPrecedingBlanks (); void StripTrailingCharacters (char cChar); void StripPrecedingCharacters (char cChar); Character Query functions (from Ctype.H): int IsTab (int nIndex) const; int IsWhiteSpace (int nIndex) const; int IsAlphabetic (int nIndex) const; int IsAlphanumeric (int nIndex) const; int IsBlank (int nIndex) const; int IsPunctuation (int nIndex) const; int IsUppercase (int nIndex) const; int IsLowercase (int nIndex) const; int IsNumeric (int nIndex) const; int IsHexNumeric (int nIndex) const; Tab Expansion void ExpandTabs (int nTabSize = 8); Misc: void MakeCharUpper (int nIndex); void MakeCharLower (int nIndex);